package org.john.javalib;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by adsame on 18-4-19.
 */
public class SubClass extends AbstractClass {


    int a = 0;

    public SubClass() {
        System.out.println("subclass");
    }

    public SubClass(int a) {
        this.a = a;
    }

    @Override
    public void test() {

    }

    @Override
    public List<DefautlClass> testList(List<DefautlClass> input) {
        List<DefautlClass> arr = new ArrayList<DefautlClass>();
        System.out.println("test sub class list");
//        arr.add("child");
        return arr;
    }

    public static void main(String args[]) {
        SubClass c = new SubClass();
        System.out.println(c.getClassName());
    }
}
